package controller
{
	import model.PrefsProxy;
	
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class GetPrefsCommand extends SimpleCommand
	{
		public function GetPrefsCommand()
		{
			super();
		}

		override public function execute(notification:INotification):void
		{

			var authToken:String=notification.getBody() as String;

			var prefsProxy:PrefsProxy=facade.retrieveProxy(PrefsProxy.NAME) as PrefsProxy;

			prefsProxy.getPrefs(authToken);
		}
	}
}
